home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / python2.4 / lib-old / util.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2005-10-18  |  559b  |  18 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4.  
  5. def remove(item, list):
  6.     if item in list:
  7.         list.remove(item)
  8.     
  9.  
  10.  
  11. def readfile(fn):
  12.     return readopenfile(open(fn, 'r'))
  13.  
  14.  
  15. def readopenfile(fp):
  16.     return fp.read()
  17.  
  18.